typedef PD3DXQUATERNION (WINAPI *TD3DXQuaternionMultiply)(
  _Inout_  D3DXQUATERNION *pOut,
  _In_     const D3DXQUATERNION *pQ1,
  _In_     const D3DXQUATERNION *pQ2
);

TD3DXQuaternionMultiply OldD3DXQuaternionMultiply;

DllExport PD3DXQUATERNION cc D3DXQuaternionMultiply(
  _Inout_  D3DXQUATERNION *pOut,
  _In_     const D3DXQUATERNION *pQ1,
  _In_     const D3DXQUATERNION *pQ2
)
{
	return OldD3DXQuaternionMultiply (pOut, pQ1, pQ2);
}
